<?php
defined('BASEPATH') OR exit('No direct script access allowed');

class App extends App_Controller {


	public function index()
	{
		//加载视图
		//$this->load->view('global_layout');

        $this->load->model( "admin/admin_model" );
        $result = $this->admin_model->getAdminList(['rows'=>10,'start_row'=>0])['data'];
        exit(json_encode($result));
        P::exitOk($result);
        $data['page_title']="wap页面";
		//$this->layout->view('wap/index.html',$data);
	}

}
